package com.luxx;


import com.luxx.service.UserService;
import com.spring.ComponentScan;
import com.spring.LuxxApplicationContext;

@ComponentScan("com.luxx.service")
public class AppConfig {

    public static void main(String[] args) {
        LuxxApplicationContext applicationContext = new LuxxApplicationContext(AppConfig.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();
    }
}
